package org.multimedia.jolitorask.client;

import java.util.Collection;

import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

@SuppressWarnings("unchecked")
public interface ClientLocalHome extends EJBLocalHome{

	public ClientLocal create(Integer i, String nom, String pass, String email, String url) throws CreateException;
	public ClientLocal findByPrimaryKey(Integer i) throws FinderException;
	
	public Collection<ClientLocal> findByLogin(String login) throws FinderException;
	public Collection<ClientLocal> findByMail(String mail)  throws FinderException;

}
